package lab01;

/**
 * Created by dell on 2017/10/9.
 */
public class Test13 {
    public static void main(String[] args) {
int count=0;
for(int N=100;N<1000;N++){
    int a=N%10;
    int b=N/10%10;
    int c=N/100;
    if(a*a*a+b*b*b+c*c*c==N){
        count++;
        System.out.println(N+"");
    }

}
    }
}
